package com.zhangj.service;

import com.zhangj.pojo.User;

import java.util.List;

/**
 * @InterfaceName UserService
 * @Description
 * @Author zhangjie
 * @Date 2022/1/11 18:22
 * @Version 1.0
 */

public interface UserService {

    List<User> findUsers();

    User findUserById(Long id);

    void saveUser(User user);

    void updateUser(User user);

    void deleteUserById(Long id);
}
